﻿package mortal.game.view.guildNew.otherGuildMem
{
    import extend.language.*;
    import mortal.component.window.*;
    import mortal.game.view.common.*;
    import mortal.mvc.interfaces.*;

    public class GuildNewOtherGMemWin extends BaseWindow
    {
        private var _panel:GuildNewOtherGMemPanel;
        private static var _instance:GuildNewOtherGMemWin;

        public function GuildNewOtherGMemWin(param1:ILayer = null)
        {
            super(param1);
            setSize(758, 503);
            title = "" + Language.getString(71598);
            titleHeight = 60;
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            super.createDisposedChildrenImpl();
            this._panel = UIFactory.getUICompoment(GuildNewOtherGMemPanel, 7, 32, this);
            return;
        }// end function

        override protected function disposeImpl(param1:Boolean = true) : void
        {
            this._panel = null;
            super.disposeImpl(param1);
            return;
        }// end function

        public function updateMember() : void
        {
            if (this._panel)
            {
                this._panel.updateMemList();
            }
            return;
        }// end function

        public function reqInfo() : void
        {
            if (this._panel)
            {
                this._panel.reqInfo();
            }
            return;
        }// end function

        public static function get instance() : GuildNewOtherGMemWin
        {
            if (_instance == null)
            {
                _instance = new GuildNewOtherGMemWin;
            }
            return _instance;
        }// end function

    }
}
